import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
// 导入全局样式npm install -D less-loader@7.x
import './assets/css/global.css'
// 导入ajax
import axios from 'axios'
// 配置根路径
axios.defaults.baseURL = 'http://localhost:8888/api/private/v1/' // 配置请求的根路径
Vue.config.productionTip = false
// 挂载到$http
Vue.prototype.$http = axios
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
